<template>
	<view class="">

		<view class="special-wap">
			<view class="special-text">
				<text>报考指南</text>
			</view>

		</view>
		<view class="info_logos">
			<block v-for="(item,index) in bkzllist" :key="index">
				<view class="info_list_box" @click="goExaminationDetail(item)">
					<view class="info_title">
						<text style="font-weight: bold;">{{item.title}} </text>
						<view class="info_text">
							{{item.zyjd}}
						</view>
						<view class="infor_title_botm">
							<text class="infor_author">{{item.title}}</text>
							<text class="infor_time">{{$u.timeFormat(item._createtime, 'mm月dd日')}}</text>
						</view>
					</view>
					<view class="" style="height:180rpx;width: 200rpx; text-align: center; overflow: hidden;">
						<image :src="item.img" mode="heightFix"></image>
					</view>

				</view>
				<u-line v-if="(index+1) != bkzllist.length" color="#E5E5E5" />
			</block>
		</view>

	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		props: {
			bkzllist: {
				type: Array,
				default () {
					return []
				}
			}
		},
		methods: {
			goExaminationDetail(item) {
				uni.navigateTo({
					url: "/pages/HomeLnner/practice/examination-detail/examination-detail?id=" + item.id
				})
			}
		}
	}
</script>

<style scoped lang="scss">
	.special-wap {
		padding: 40rpx 30rpx 0 30rpx;
		background-color: #fff;

		.special-text {
			display: flex;
			justify-content: space-between;
			align-items: center;
			font-size: 34rpx;
			font-weight: bold;
			color: #000000;
			margin-bottom: 40rpx;

			.info-dw {
				font-size: 22rpx;
				color: #999999;
			}
		}
	}

	.info_logos {

		.info_list_box {
			display: flex;
			margin-bottom: 43rpx;
			// border-bottom: 2rpx #E5E5E5 solid;
			margin: 30rpx 30rpx 26rpx 30rpx;

			&:last-child {
				margin-bottom: 0rpx;
				// border-bottom: none;
			}

			.info_title {
				flex: 1;
				display: flex;
				flex-direction: column;
				justify-content: space-between;

				.info_text {
					margin-bottom: 30rpx;
					font-size: 28rpx;
					color: #333333;
					overflow: hidden;
					text-overflow: ellipsis;
					display: -webkit-box;
					-webkit-line-clamp: 2;
					-webkit-box-orient: vertical;
				}

				.infor_title_botm {
					font-size: 24rpx;
					color: #999999;

					.infor_author {
						margin-right: 37rpx;
					}

					.infor_time {
						margin-bottom: 10rpx;
					}
				}
			}

			image {
				// margin-left: 28rpx;
				height: 100%;
				width: 100%;
				border-radius: 16rpx;
				border: 1rpx solid #dfdfdf;
			}
		}

	}
</style>
